package com.cdpm.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cdpm.system.domain.SysArticle;
import com.cdpm.system.domain.vo.SysArticleRes;
import com.cdpm.system.domain.vo.SysArticleUpVO;
import com.cdpm.system.domain.vo.SysArticleVO;

import java.util.List;

public interface ISysArticleService extends IService<SysArticle> {

    List<SysArticleRes> findList(SysArticleVO sysArticleVO);

    SysArticle findById(Long articleId);

    void insertSysArticle(SysArticle sysArticle);

    void update(SysArticle sysArticle);

    void closeOrUp(SysArticleUpVO sysArticleUpVO);
}
